package com.tomdd.util;

import com.google.gson.GsonBuilder;

/**
 * @author zx
 * @date 2025-03-12 12:30
 */
public class JsonUtils {

    public static String toJson(Object object) {
        return new GsonBuilder()
                .setPrettyPrinting()
                .disableHtmlEscaping()
                .create().toJson(object);


    }
}
